import axios from '@/libs/api.request'
import baseURL from '_conf/url'

export const tbAction = (data, url) => {
  return axios.request({
    url,
    baseURL,
    data,
    method: 'post'
  })
}
export const lockAction = (id, url) => {
  return axios.request({
    url,
    baseURL,
    data:{
        id
    },
    method: 'post'
  })
}
